package com.xmy.cultivate.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xmy.cultivate.entity.EnrollRoyaltySet;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 招生提成设置 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-09-11
 */
public interface IEnrollRoyaltySetService extends IService<EnrollRoyaltySet> {
    Integer countByDate(LocalDate startDate, LocalDate endDate, Integer level);

    Integer countAppointSchoolByDate(LocalDate startDate, LocalDate endDate, Long schoolId);

    IPage<EnrollRoyaltySet> getAll(IPage<?> page, String startDate, String endDate, String schoolId, String level, String status);

}
